import { useI18n } from '@/hooks/web/useI18n'
const { t } = useI18n()

export const purchaseQuickOrderRouter = {
  name: 'purchaseQuickOrder',
  component: () => import('@/components/MenuPage/MenuPage.vue'),
  path: 'PurchaseWorkPlaceA',
  meta: {
    title: t('router.purchase.purchaseQuickOrder'),
    alwaysShow: true
  },
  children: [
    {
      name: 'PurchaseQuickOrder',
      path: '/purchaseQuickOrder',
      component: () =>
        import('@/views/SupplyChain/Purchase/purchaseQuickOrder/purchaseQuickOrder.vue'),
      meta: {
        title: t('router.purchase.purchaseQuickOrder')
      }
    }
  ]
}
